#ifndef MENUSTACK_H_
#define MENUSTACK_H_

#include "Menu.h"
#include <list>

class MenuStack {
private:
	static MenuStack* instance;

	list<Menu*> stack;

	MenuStack();
	virtual ~MenuStack();

public:
	static MenuStack* getInstance();
	static void destroy();

	Menu* getCurrent();
	void push(Menu* menu);
	void pop();
	bool empty() {return stack.empty();};
};

#endif /* MENUSTACK_H_ */
